about dialog: Correct the property definition for logo
authorMatthias Clasen <mclasen@redhat.com>
Mon, 23 Oct 2017 05:38:36 +0000 (07:38 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 23 Oct 2017 05:38:36 +0000 (07:38 +0200)
cairo surfaces are boxed types, not objects.

gtk/gtkaboutdialog.c

index c34a2a9c27bbd8f4ec25bcf10b42c6ceb417f05f..2fd7968e9230957d0e03c28f8763ed54b955aa4d 100644 (file)
@@ -583,11 +583,11 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * Since: 2.6
    */
   props[PROP_LOGO] =
-    g_param_spec_object ("logo",
-                         P_("Logo"),
-                         P_("A logo for the about box. If this is not set, it defaults to gtk_window_get_default_icon_list()"),
-                         CAIRO_GOBJECT_TYPE_SURFACE,
-                         GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
+    g_param_spec_boxed ("logo",
+                        P_("Logo"),
+                        P_("A logo for the about box. If this is not set, it defaults to gtk_window_get_default_icon_list()"),
+                        CAIRO_GOBJECT_TYPE_SURFACE,
+                        GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
   /**
    * GtkAboutDialog:logo-icon-name: